package com.itheima.cn;

public class Demo {
    public static void main(String[] args) {
        MyRunable myRunable1 = new MyRunable();
        MyRunable myRunable2 = new MyRunable();
        Thread thread1 = new Thread(myRunable1);
        Thread thread2 = new Thread(myRunable2);
        thread1.start();
        thread2.start();
    }
}
